<?php


namespace Part22_BridgingMode\Code4;


abstract class HandsetBrand
{
    /**
     * @var HandsetSoft
     */
    protected $soft;

    /**
     * 设置（安装）手机软件
     * @param $soft HandsetSoft
     */
    public function setHandsetSoft($soft)
    {
        $this->soft = $soft;
    }

    // 运行
    public abstract function run();
}